<template>
  <el-dialog
    title="批量策略管理"
    :visible="morePolicyVisible"
    width="40%"
    @close="cancel"
    @opened="opened"
  >
    <template>
      选择策略：
      <el-select v-model="form.region" placeholder="请选择" style="width:80%">
        <el-option label="区域一" value="shanghai"></el-option>
      </el-select>
    </template>
    <span slot="footer" class="dialog-footer">
      <el-button @click="cancel">取 消</el-button>
      <el-button>确 定</el-button>
    </span>
  </el-dialog>
</template>

<script>
export default {
  props: {
    morePolicyVisible: {
      type: Boolean,
      required: true,
      default: false
    }
  },
  data () {
    return {
      form: {
        region: ''
      }
    }
  },
  methods: {
    cancel () {
      this.$emit('update:morePolicyVisible', false)
    },
    opened () {}
  }
}
</script>

<style>
.el-dialog__title {
  font-size: 16px;
}
</style>
